﻿using Neudesic.ComponentModel;

namespace Neudesic.Pulse.Entities
{

    /// <summary>
    /// Strongly-typed enumeration of entity types.
    /// </summary>
    public enum EntityType
    {
        [SearchType("user")]
        [SearchTerm("users")]
        [SearchResultNode("users")]
        Person = 1,

        [SearchType("page")]
        [SearchTerm("pages")]
        [SearchResultNode("pages")]
        Page = 2,

        [SearchType("system")]
        [SearchTerm("systems")]
        [SearchResultNode("systems")]
        System = 3,

        [SearchType("phrase")]
        [SearchTerm("phrases")]
        [SearchResultNode("activities")]
        Phrase = 4,

        [SearchType("tag")]
        [SearchTerm("tags")]
        [SearchResultNode("tags")]
        Tag = 5,

        Question = 6
    }
}
